Hệ thống quản lý thanh toán POS nhà hàng

1 <Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
2 Partial Class frmPrinterSetting
3     Inherits System.Windows.Forms.Form
4
5     
'Form overrides dispose to clean up the component list.
6     <System.Diagnostics.DebuggerNonUserCode()> _
7     Protected Overrides Sub Dispose(ByVal disposing As Boolean)
8         Try
9             If disposing AndAlso components IsNot Nothing Then
10                 components.Dispose()
11             End If
12         Finally
13             MyBase.Dispose(disposing)
14         End Try
15     End Sub
16
17     
'Required by the Windows Form Designer
18     Private components As System.ComponentModel.IContainer
19
20     
'NOTE: The following procedure is required by the Windows Form Designer
21     
'It can be modified using the Windows Form Designer.
22     
'Do not modify it using the code editor.
23     <System.Diagnostics.DebuggerStepThrough()> _
24     Private Sub InitializeComponent()
25         Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(frmPrinterSetting))
26         Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27         Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28         Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29         Dim DataGridViewCellStyle4 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30         Me.Label1 = New System.Windows.Forms.Label()
31         Me.Label2 = New System.Windows.Forms.Label()
32         Me.Panel3 = New System.Windows.Forms.Panel()
33         Me.btnDelete = New System.Windows.Forms.Button()
34         Me.btnUpdate = New System.Windows.Forms.Button()
35         Me.btnSave = New System.Windows.Forms.Button()
36         Me.btnNew = New System.Windows.Forms.Button()
37         Me.txtID = New System.Windows.Forms.TextBox()
38         Me.cmbPrinterType = New System.Windows.Forms.ComboBox()
39         Me.Label3 = New System.Windows.Forms.Label()
40         Me.dgw = New System.Windows.Forms.DataGridView()
41         Me.Column1 = New System.Windows.Forms.DataGridViewTextBoxColumn()
42         Me.Column2 = New System.Windows.Forms.DataGridViewTextBoxColumn()
43         Me.Column3 = New System.Windows.Forms.DataGridViewTextBoxColumn()
44         Me.IsEnabled = New System.Windows.Forms.DataGridViewTextBoxColumn()
45         Me.cmbPrinter = New System.Windows.Forms.ComboBox()
46         Me.chkIsEnabled = New System.Windows.Forms.CheckBox()
47         Me.Label5 = New System.Windows.Forms.Label()
48         Me.Panel3.SuspendLayout()
49         CType(Me.dgw, System.ComponentModel.ISupportInitialize).BeginInit()
50         Me.SuspendLayout()
51         
'
52         
'Label1
53         
'
54         Me.Label1.BackColor = System.Drawing.Color.LightSeaGreen
55         Me.Label1.Font = New System.Drawing.Font(
"Segoe UI Semibold", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
56         Me.Label1.ForeColor = System.Drawing.SystemColors.ButtonHighlight
57         Me.Label1.Location = New System.Drawing.Point(
0, 0)
58         Me.Label1.Name =
"Label1"
59         Me.Label1.Size = New System.Drawing.Size(
394, 29)
60         Me.Label1.TabIndex =
1
61         Me.Label1.Text =
"POS Printer Setting"
62         Me.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
63         
'
64         
'Label2
65         
'
66         Me.Label2.AutoSize = True
67         Me.Label2.Font = New System.Drawing.Font(
"Segoe UI Semibold", 9.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
68         Me.Label2.Location = New System.Drawing.Point(
12, 41)
69         Me.Label2.Name =
"Label2"
70         Me.Label2.Size = New System.Drawing.Size(
76, 15)
71         Me.Label2.TabIndex =
2
72         Me.Label2.Text =
"Printer Type :"
73         
'
74         
'Panel3
75         
'
76         Me.Panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
77         Me.Panel3.Controls.Add(Me.btnDelete)
78         Me.Panel3.Controls.Add(Me.btnUpdate)
79         Me.Panel3.Controls.Add(Me.btnSave)
80         Me.Panel3.Controls.Add(Me.btnNew)
81         Me.Panel3.Location = New System.Drawing.Point(
15, 178)
82         Me.Panel3.Name =
"Panel3"
83         Me.Panel3.Size = New System.Drawing.Size(
367, 48)
84         Me.Panel3.TabIndex =
3
85         
'
86         
'btnDelete
87         
'
88         Me.btnDelete.Cursor = System.Windows.Forms.Cursors.Hand
89         Me.btnDelete.Font = New System.Drawing.Font(
"Microsoft Sans Serif", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
90         Me.btnDelete.Image = CType(resources.GetObject(
"btnDelete.Image"), System.Drawing.Image)
91         Me.btnDelete.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft
92         Me.btnDelete.Location = New System.Drawing.Point(
274, 4)
93         Me.btnDelete.Name =
"btnDelete"
94         Me.btnDelete.Size = New System.Drawing.Size(
83, 37)
95         Me.btnDelete.TabIndex =
3
96         Me.btnDelete.Text =
"&Delete"
97         Me.btnDelete.TextAlign = System.Drawing.ContentAlignment.MiddleRight
98         Me.btnDelete.UseVisualStyleBackColor = True
99         
'
100         
'btnUpdate
101         
'
102         Me.btnUpdate.Cursor = System.Windows.Forms.Cursors.Hand
103         Me.btnUpdate.Font = New System.Drawing.Font(
"Microsoft Sans Serif", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
104         Me.btnUpdate.Image = CType(resources.GetObject(
"btnUpdate.Image"), System.Drawing.Image)
105         Me.btnUpdate.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft
106         Me.btnUpdate.Location = New System.Drawing.Point(
186, 4)
107         Me.btnUpdate.Name =
"btnUpdate"
108         Me.btnUpdate.Size = New System.Drawing.Size(
83, 37)
109         Me.btnUpdate.TabIndex =
2
110         Me.btnUpdate.Text =
"&Update"
111         Me.btnUpdate.TextAlign = System.Drawing.ContentAlignment.MiddleRight
112         Me.btnUpdate.UseVisualStyleBackColor = True
113         
'
114         
'btnSave
115         
'
116         Me.btnSave.Cursor = System.Windows.Forms.Cursors.Hand
117         Me.btnSave.Font = New System.Drawing.Font(
"Microsoft Sans Serif", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
118         Me.btnSave.Image = CType(resources.GetObject(
"btnSave.Image"), System.Drawing.Image)
119         Me.btnSave.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft
120         Me.btnSave.Location = New System.Drawing.Point(
97, 4)
121         Me.btnSave.Name =
"btnSave"
122         Me.btnSave.Size = New System.Drawing.Size(
83, 37)
123         Me.btnSave.TabIndex =
1
124         Me.btnSave.Text =
"&Save"
125         Me.btnSave.TextAlign = System.Drawing.ContentAlignment.MiddleRight
126         Me.btnSave.UseVisualStyleBackColor = True
127         
'
128         
'btnNew
129         
'
130         Me.btnNew.Cursor = System.Windows.Forms.Cursors.Hand
131         Me.btnNew.Font = New System.Drawing.Font(
"Microsoft Sans Serif", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
132         Me.btnNew.Image = Global.Restaurant_Management_System.My.Resources.Resources.AddFile_32x32
133         Me.btnNew.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft
134         Me.btnNew.Location = New System.Drawing.Point(
8, 4)
135         Me.btnNew.Name =
"btnNew"
136         Me.btnNew.Size = New System.Drawing.Size(
83, 37)
137         Me.btnNew.TabIndex =
0
138         Me.btnNew.Text =
"&New"
139         Me.btnNew.TextAlign = System.Drawing.ContentAlignment.MiddleRight
140         Me.btnNew.UseVisualStyleBackColor = True
141         
'
142         
'txtID
143         
'
144         Me.txtID.Location = New System.Drawing.Point(
0, -1)
145         Me.txtID.Name =
"txtID"
146         Me.txtID.Size = New System.Drawing.Size(
21, 20)
147         Me.txtID.TabIndex =
4
148         Me.txtID.Visible = False
149         
'
150         
'cmbPrinterType
151         
'
152         Me.cmbPrinterType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
153         Me.cmbPrinterType.FormattingEnabled = True
154         Me.cmbPrinterType.Items.AddRange(New Object() {
"Ticket Printer", "Invoice Printer"})
155         Me.cmbPrinterType.Location = New System.Drawing.Point(
125, 41)
156         Me.cmbPrinterType.Name =
"cmbPrinterType"
157         Me.cmbPrinterType.Size = New System.Drawing.Size(
145, 21)
158         Me.cmbPrinterType.TabIndex =
0
159         
'
160         
'Label3
161         
'
162         Me.Label3.AutoSize = True
163         Me.Label3.Font = New System.Drawing.Font(
"Segoe UI Semibold", 9.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
164         Me.Label3.Location = New System.Drawing.Point(
12, 66)
165         Me.Label3.Name =
"Label3"
166         Me.Label3.Size = New System.Drawing.Size(
80, 15)
167         Me.Label3.TabIndex =
5
168         Me.Label3.Text =
"Printer Name:"
169         
'
170         
'dgw
171         
'
172         Me.dgw.AllowUserToAddRows = False
173         Me.dgw.AllowUserToDeleteRows = False
174         DataGridViewCellStyle1.BackColor = System.Drawing.Color.FloralWhite
175         Me.dgw.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
176         Me.dgw.BackgroundColor = System.Drawing.Color.White
177         Me.dgw.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.[Single]
178         DataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter
179         DataGridViewCellStyle2.BackColor = System.Drawing.Color.Orange
180         DataGridViewCellStyle2.Font = New System.Drawing.Font(
"Microsoft Sans Serif", 8.25!)
181         DataGridViewCellStyle2.ForeColor = System.Drawing.Color.Black
182         DataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.LightSteelBlue
183         DataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText
184         DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
185         Me.dgw.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle2
186         Me.dgw.ColumnHeadersHeight =
30
187         Me.dgw.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.Column1, Me.Column2, Me.Column3, Me.IsEnabled})
188         Me.dgw.Cursor = System.Windows.Forms.Cursors.Hand
189         Me.dgw.EnableHeadersVisualStyles = False
190         Me.dgw.GridColor = System.Drawing.Color.White
191         Me.dgw.Location = New System.Drawing.Point(
15, 232)
192         Me.dgw.MultiSelect = False
193         Me.dgw.Name =
"dgw"
194         Me.dgw.ReadOnly = True
195         Me.dgw.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.[Single]
196         DataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
197         DataGridViewCellStyle3.BackColor = System.Drawing.Color.LightSeaGreen
198         DataGridViewCellStyle3.Font = New System.Drawing.Font(
"Microsoft Sans Serif", 8.25!)
199         DataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText
200         DataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.Orange
201         DataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText
202         DataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
203         Me.dgw.RowHeadersDefaultCellStyle = DataGridViewCellStyle3
204         Me.dgw.RowHeadersWidth =
25
205         Me.dgw.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing
206         DataGridViewCellStyle4.BackColor = System.Drawing.Color.White
207         DataGridViewCellStyle4.Font = New System.Drawing.Font(
"Tahoma", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
208         DataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.MediumTurquoise
209         DataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.White
210         Me.dgw.RowsDefaultCellStyle = DataGridViewCellStyle4
211         Me.dgw.RowTemplate.Height =
18
212         Me.dgw.RowTemplate.Resizable = System.Windows.Forms.DataGridViewTriState.[False]
213         Me.dgw.ScrollBars = System.Windows.Forms.ScrollBars.Vertical
214         Me.dgw.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect
215         Me.dgw.Size = New System.Drawing.Size(
367, 100)
216         Me.dgw.TabIndex =
4
217         
'
218         
'Column1
219         
'
220         Me.Column1.HeaderText =
"ID"
221         Me.Column1.Name =
"Column1"
222         Me.Column1.ReadOnly = True
223         Me.Column1.Visible = False
224         
'
225         
'Column2
226         
'
227         Me.Column2.FillWeight =
96.70051!
228         Me.Column2.HeaderText =
"Printer Type"
229         Me.Column2.Name =
"Column2"
230         Me.Column2.ReadOnly = True
231         Me.Column2.Width =
110
232         
'
233         
'Column3
234         
'
235         Me.Column3.FillWeight =
96.70051!
236         Me.Column3.HeaderText =
"Printer Name"
237         Me.Column3.Name =
"Column3"
238         Me.Column3.ReadOnly = True
239         Me.Column3.Width =
158
240         
'
241         
'IsEnabled
242         
'
243         Me.IsEnabled.FillWeight =
106.599!
244         Me.IsEnabled.HeaderText =
"IsEnabled"
245         Me.IsEnabled.Name =
"IsEnabled"
246         Me.IsEnabled.ReadOnly = True
247         Me.IsEnabled.Width =
70
248         
'
249         
'cmbPrinter
250         
'
251         Me.cmbPrinter.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest
252         Me.cmbPrinter.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems
253         Me.cmbPrinter.FormattingEnabled = True
254         Me.cmbPrinter.Location = New System.Drawing.Point(
125, 68)
255         Me.cmbPrinter.Name =
"cmbPrinter"
256         Me.cmbPrinter.Size = New System.Drawing.Size(
257, 21)
257         Me.cmbPrinter.TabIndex =
1
258         
'
259         
'chkIsEnabled
260         
'
261         Me.chkIsEnabled.AutoSize = True
262         Me.chkIsEnabled.Font = New System.Drawing.Font(
"Segoe UI Semibold", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
263         Me.chkIsEnabled.Location = New System.Drawing.Point(
15, 92)
264         Me.chkIsEnabled.Name =
"chkIsEnabled"
265         Me.chkIsEnabled.Size = New System.Drawing.Size(
75, 17)
266         Me.chkIsEnabled.TabIndex =
2
267         Me.chkIsEnabled.Text =
"IsEnabled"
268         Me.chkIsEnabled.UseVisualStyleBackColor = True
269         
'
270         
'Label5
271         
'
272         Me.Label5.AutoSize = True
273         Me.Label5.Font = New System.Drawing.Font(
"Microsoft Sans Serif", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
274         Me.Label5.Location = New System.Drawing.Point(
12, 121)
275         Me.Label5.Name =
"Label5"
276         Me.Label5.Size = New System.Drawing.Size(
379, 45)
277         Me.Label5.TabIndex =
9
278         Me.Label5.Text =
"Note : If printer is shared on network then use network path of shared" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "printer a" & _
279     
"s printer name" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "e.g. : \\ServerName\PrinterName"
280         
'
281         
'frmPrinterSetting
282         
'
283         Me.AutoScaleDimensions = New System.Drawing.SizeF(
6.0!, 13.0!)
284         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
285         Me.BackColor = System.Drawing.SystemColors.ButtonHighlight
286         Me.ClientSize = New System.Drawing.Size(
393, 341)
287         Me.Controls.Add(Me.Label5)
288         Me.Controls.Add(Me.chkIsEnabled)
289         Me.Controls.Add(Me.cmbPrinter)
290         Me.Controls.Add(Me.cmbPrinterType)
291         Me.Controls.Add(Me.txtID)
292         Me.Controls.Add(Me.Label3)
293         Me.Controls.Add(Me.dgw)
294         Me.Controls.Add(Me.Panel3)
295         Me.Controls.Add(Me.Label2)
296         Me.Controls.Add(Me.Label1)
297         Me.Font = New System.Drawing.Font(
"Microsoft Sans Serif", 8.25!)
298         Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog
299         Me.Icon = CType(resources.GetObject(
"$this.Icon"), System.Drawing.Icon)
300         Me.KeyPreview = True
301         Me.MaximizeBox = False
302         Me.MinimizeBox = False
303         Me.Name =
"frmPrinterSetting"
304         Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
305         Me.Text =
"Printer Setting"
306         Me.Panel3.ResumeLayout(False)
307         CType(Me.dgw, System.ComponentModel.ISupportInitialize).EndInit()
308         Me.ResumeLayout(False)
309         Me.PerformLayout()
310
311     End Sub
312     Friend WithEvents Label1 As System.Windows.Forms.Label
313     Friend WithEvents Label2 As System.Windows.Forms.Label
314     Friend WithEvents Panel3 As System.Windows.Forms.Panel
315     Friend WithEvents btnDelete As System.Windows.Forms.Button
316     Friend WithEvents btnUpdate As System.Windows.Forms.Button
317     Friend WithEvents btnSave As System.Windows.Forms.Button
318     Friend WithEvents txtID As System.Windows.Forms.TextBox
319     Friend WithEvents cmbPrinterType As System.Windows.Forms.ComboBox
320     Friend WithEvents btnNew As System.Windows.Forms.Button
321     Friend WithEvents Label3 As System.Windows.Forms.Label
322     Friend WithEvents dgw As System.Windows.Forms.DataGridView
323     Friend WithEvents cmbPrinter As System.Windows.Forms.ComboBox
324     Friend WithEvents chkIsEnabled As System.Windows.Forms.CheckBox
325     Friend WithEvents Label5 As System.Windows.Forms.Label
326     Friend WithEvents Column1 As System.Windows.Forms.DataGridViewTextBoxColumn
327     Friend WithEvents Column2 As System.Windows.Forms.DataGridViewTextBoxColumn
328     Friend WithEvents Column3 As System.Windows.Forms.DataGridViewTextBoxColumn
329     Friend WithEvents IsEnabled As System.Windows.Forms.DataGridViewTextBoxColumn
330 End Class


Gõ tìm kiếm nhanh...